﻿using System;
using System.Collections.Generic;

using Bpms.Entity;

namespace Bpms.OrderStrategy
{
    /// <summary>
    /// 订单操作接口
    /// </summary>
    public interface IOrderStrategy
    {
        bool AddOrder(OrderInfo order);
        bool UpdateOrder(OrderInfo order);
        OrderInfo GetOrder(int orderId);
        List<OrderInfo> GetOrders(int pageId, int pageSize, string condition);
        bool ChangeOrderStatus(int orderId);
        //int GetCount();
        //int GetCount(string condition);
        //bool AssignTask(int orderId);

    }
}
